package com.ccrfid.rmc6.repository.business.rollcall2;

import com.ccrfid.rmc6.entity.business.rollcall2.RcRecordDetailEntity;
import com.ccrfid.rmc6.repository.search.SearchableRepository;
import org.springframework.data.repository.Repository;

import java.util.List;

public interface RcRecordDetailRepository extends Repository<RcRecordDetailEntity, Long>,
        SearchableRepository<RcRecordDetailEntity> {

    RcRecordDetailEntity getById(Long id);

    RcRecordDetailEntity save(RcRecordDetailEntity entity);

    List<RcRecordDetailEntity> getAllByRecordId(Long recordId);
}
